package com.dormms.www.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Title: PaginationConfig
 * @Author Tanght 363993584@qq.com
 * @Date 2024/7/25
 * @description:
 */
/*配置分页功能*/
@Configuration
public class PaginationConfig {
    @Bean
    public PaginationInterceptor paginationInterceptor(){
        return new PaginationInterceptor();
    }
}
